import axios from '@/utils/request'

export function getUserChannel() {
  return axios({
    url: '/v1_0/user/channels'
  })
}

export function getTuiChannel(id, timestamp) {
  return axios({
    url: '/v1_0/articles',
    params: {
      channel_id: id,
      timestamp
    }
  })
}
